Revision: tla--devo--1.2--patch-32
Archive: lord@emf.net--2004
Creator: Tom Lord <lord@emf.net>
Date: Thu Dec 25 13:05:27 PST 2003
Standard-date: 2003-12-25 21:05:27 GMT
Modified-files: libarch/archive-mirror.c
    libarch/archive-pfs.c libarch/archive.c
    libarch/archive.h libarch/commit.c libarch/import.c
    libarch/tag.c
New-patches: lord@emf.net--2004/tla--devo--1.2--patch-32
Summary: finish_signature => revision_read (see log body)


Removed arch_finish_signature_file from the archive protocol
but added arch_revision_ready which, for pfs archives, has
the same effect.

The idea is that the protocol for creating a new revision
is three steps:

  arch_lock_revision		(begin transaction)

  [add data to the revision]

  arch_revision_ready		(end of data for the transaction)
                                     
  [do phase-1 of project tree commit]

  arch_finish_revision		(commit transaction)

  [do phase-2 of project tree commit]


Adding arch_revision_ready essentially makes the protocol
a two-phase commit.   The protocol makes no specific mention
of signatures -- that's just a pfs-level thing.

